/* created at 2008-07-07:20:19:01 */
package pl.kwiecienm.jcomet.integration;

import pl.kwiecienm.jcomet.Comet;
import pl.kwiecienm.jcomet.configuration.CometConfiguration;
import pl.kwiecienm.jcomet.configuration.SpringCometConfigurationReader;

/**
 * @author kwiecienm
 */
public class CometStandalone {

    /**
     * @param args
     */
    public static void main(String... args) {
        SpringCometConfigurationReader configReader = new SpringCometConfigurationReader(
                args[0]);
        CometConfiguration cometConfiguration = configReader
                .getCometConfiguration();

        Comet comet = new Comet(cometConfiguration);
        comet.doMetrics();
    }
}
